package org.code.mallspringboot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.code.mallspringboot.pojo.PmsMemberPrice;

import java.util.List;

/**
 * @Entity org.code.mallspringboot.pojo.PmsMemberPrice
 */
@Mapper
public interface PmsMemberPriceMapper{


    /**
     查询全部
     * @param id
     * @return
     */
    List<PmsMemberPrice> selectAll(@Param("id") int id);

    /**
     根据product_id删除
     * @param productId
     * @return
     */
    int delete(@Param("productId") int productId);

    /**
     添加
     * @param pmsMemberPrice
     * @return
     */
    int addAll(PmsMemberPrice pmsMemberPrice);
}




